package org.celery.modules.goods.service.impl;

import org.celery.modules.goods.entity.GoodsSpecification;
import org.celery.modules.goods.vo.GoodsSpecificationVO;
import org.celery.modules.goods.mapper.GoodsSpecificationMapper;
import org.celery.modules.goods.service.IGoodsSpecificationService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 商品规格表 服务实现类
 *
 * @author Celery
 * @since 2021-10-28
 */
@Service
public class GoodsSpecificationServiceImpl extends BaseServiceImpl<GoodsSpecificationMapper, GoodsSpecification> implements IGoodsSpecificationService {

	@Override
	public IPage<GoodsSpecificationVO> selectGoodsSpecificationPage(IPage<GoodsSpecificationVO> page, GoodsSpecificationVO goodsSpecification) {
		return page.setRecords(baseMapper.selectGoodsSpecificationPage(page, goodsSpecification));
	}

}
